home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 112 / EnigmaAmiga112CD.iso / dalla rivista / awnpipe / awnp / awnp-docs / chooser.doc < prev    next >
Text File  |  2000-05-17  |  2KB  |  111 lines

  1. Chooser gadget event
  2. -------------------------
  3.  
  4. 'gadget GID selected'
  5.  
  6. selected = the selected choice in the chooser.
  7.  
  8. Chooser gadget parameters.
  9. -------------------------
  10.  
  11. font=GID
  12.  
  13. This sets the font for the gadget. The GID points to an ALREADY defined text attribute.
  14.  
  15. close (c)
  16.  
  17.  This gadget will close the window when selected by the user.
  18.  
  19. readonly (ro)
  20.  
  21.  This gadget is read only.
  22.  
  23. disable=number (dis=)
  24.  
  25.  The gadget is enabled if number = 0 , disabled if number !=0. Defaults to enabled.
  26.  
  27. gadgettext="text" (gt=)
  28.  
  29.  Set the text for the gadget.
  30.  
  31. selected=number (s=)
  32.  
  33.   Set which choice is selected when the window opens. Selections start at 0 . This defaults to choice 0.
  34.  
  35. ChooserLabels="choice0|choice1|choice..." (cl)
  36.  
  37.  Set the choices for the gadget. Maximum 50 choices, do not exceed this !
  38.  
  39. Maxnumber=count (maxn=)
  40.  
  41.  The maximum number of selection to display. Defaults to 12.
  42.  
  43. Popup   (pu)
  44.  
  45.  This is a popup chooser. Defaults to dropdown.
  46.  
  47. minwidth=number (minw=)
  48.  
  49.  Set the minimum width for this gadget
  50.  
  51. minheight=number (minh=)
  52.  
  53.  Set the minimum height for this gadget
  54.  
  55. weightedwidth=number (weiw=)
  56.  
  57.  Set the weighted width for this gadget
  58.  
  59. weightedheight=number (weih=)
  60.  
  61.  Set the weighted height for this gadget
  62.  
  63. nominalsize (noms)
  64.  
  65.  Set this gadget to its nominal size.
  66.  
  67. tags="tags|data[|tag|data...]|0
  68.  
  69.  A list of tag and value pairs in HEX. Do not forget the
  70. trailing null !
  71.  
  72. childlabel    (chl)
  73. childlabelr   (chlr)
  74.  
  75.  Use the previously defined image as a childlabel for this gadget. Display the childlabel to the right or left of the gadget.
  76.  
  77. TabCycle (tc)
  78.  
  79.  This gadget can be selected by cycling with the tab key.
  80.  
  81. replace=GID
  82.  
  83.  Use this gadget to replace an existing gadget specified by GID.
  84.  
  85. Definition Reply
  86. -----------------
  87.  
  88.  When the gadget creation is successful the pipe replies with
  89.  
  90. 'ok GID'
  91.  
  92. Chooser gadget modify parameters.
  93. -------------------------
  94.  
  95. disable=number (dis=)
  96.  
  97.  The gadget is enabled if number = 0 , disabled if number !=0.
  98.  
  99. selected=number (s=)
  100.  
  101.   Set which choice is selected . Selections start at 0 .
  102.  
  103. chooserlabels="choice0|choice1|choice..." (cl=)
  104.  
  105.  Change the choices available in the chooser.
  106.  
  107. defnumber=count (defn=)
  108.  
  109.  The maximum number of selection to display.
  110.  
  111.